package com.wbt.bambootown.mvp.contract;

import com.wbt.bambootown.entity.CameraPic;
import com.wbt.bambootown.entity.ControlDevices;
import com.wbt.bambootown.mvp.frame.base.BasePresenter;
import com.wbt.bambootown.mvp.frame.base.BaseView;

import java.util.List;

import retrofit2.http.Query;

public interface ControlDevicesContract {
    interface View extends BaseView {
        void showError(String errorMsg);
        void showDevicesSuccess(List<ControlDevices> controlDevices);
    }

    interface Presenter extends BasePresenter {
       void getControlDevices(int id);
    }
}
